package com.sunshine.spring.jdbc.model;

import java.io.Serializable;

/**
 * 用户模型
 *
 * @Author: WeiHong
 * @Date: 2017/3/16 14:02
 */
public class Customer implements Serializable {

    private static final long serialVersionUID = -7807289421768629241L;

    private int custId;

    private String name;

    private int age;

    public Customer(){
    }

    public Customer(int custId,String name,int age){
        this.custId = custId;
        this.name = name;
        this.age = age;
    }


    public int getCustId() {
        return custId;
    }

    public void setCustId(int custId) {
        this.custId = custId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "custId=" + custId +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
